const express = require('express')

const router = express.Router()

const {list, add, getOne, edit, del} = require('../../../controller/role')

router.get('/list', list)

router.post('/add', add)

router.get('/getOne/:id', getOne)

router.put('/edit/:id', edit)

router.delete('/del/:id', del)


module.exports = router